
//u8	g_mode=0;
#define		YinSanTong	0
#define		DFO					1
//u8	g_working=0;
#define 	Working			1
#define		NotWorking	0
#define 	Setting			2
//u8	g_current_temp=0;
//u8	g_goal_temp=80;
//u8	g_current_hum=85;
//u8	g_goal_hum=0;
//u8	g_focus=0;
#define 	ModeChoice		0
#define		GoalTemp			1
#define		GoalHum				2
#define		GoalTime			3

#define		YearMark			4
#define		MonthMark			5
#define		DayMark				6
#define		HourMark			7
#define		MinuteMark		8
#define		SecondMark		9

#define 	SetLowTemp		11
#define		SetHighTemp		12
#define		SetShiftTemp	13
#define		SetLowHum			14
#define		SetHighHum		15
#define		SetShiftHum		16
#define		SetTempAlarm	17
#define 	SetHumAlarm		18
#define 	TempPower		19
#define 	HumPower		20
//u8	g_current_left_time=90;
//u8	g_goal_left_time=90;
//u8	g_water_level=1;
#define		WaterNormal		1
#define		WaterOut		0
//u8	g_working_step=0;
#define		PreHeating	1
#define 	Counting		2
#define		Complete		3
//u8	g_edit=0;
#define		Enable			1		
#define		Disable			0


#define RGB565_MASK_RED        0xF800   
#define RGB565_MASK_GREEN    0x07E0   
#define RGB565_MASK_BLUE       0x5d3d //0x001F  
#define RGB565_MASK_BLACK       0x0000  
#define RGB565_LOWGREEN				0x0700	//0x03a0
#define RGB565_DARKRED				0xf99f

#define RGB565_ORANGE			0xfb60
#define RGB565_LIGHT_GRAY			0xdefb
#define RGB565_DARK_GRAY			0x4228 

#define FOCUS_COLOR			RGB565_MASK_GREEN 
#define FOCUS_EDIT_COLOR	RGB565_DARKRED
#define CHOICE_COLOR		RGB565_MASK_BLUE


#define BG_COLOR		0xDE99
#define FT_COLOR		0x0000









